encoding/json.decodeState.off (field)
22 uses
encoding/json (current package)
decode.go#L210: off int // next read offset in data
decode.go#L221: return d.off - 1
decode.go#L231: d.off = 0
decode.go#L267: s, data, i := &d.scan, d.data, d.off
decode.go#L273: d.off = i
decode.go#L282: if d.off < len(d.data) {
decode.go#L283: d.opcode = d.scan.step(&d.scan, d.data[d.off])
decode.go#L284: d.off++
decode.go#L287: d.off = len(d.data) + 1 // mark processed EOF with len+1
decode.go#L294: s, data, i := &d.scan, d.data, d.off
decode.go#L300: d.off = i
decode.go#L305: d.off = len(data) + 1 // mark processed EOF with len+1
decode.go#L318: data, i := d.data, d.off
decode.go#L352: d.off = i + 1
decode.go#L508: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L511: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L529: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L605: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L608: d.saveError(&UnmarshalTypeError{Value: "object", Type: v.Type(), Offset: int64(d.off)})
decode.go#L638: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L650: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L839: return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeFor[float64](), Offset: int64(d.off)}